<h1><?php echo __("Specials List")?></h1>

<table>
  <thead>
    <tr>
      <th><?php echo __("Specials")?></th>
      <th><?php echo __("Products")?></th>
      <th><?php echo __("Specials new products price")?></th>
      <th><?php echo __("Expires date")?></th>
      <th><?php echo __("Created at")?></th>
      <th><?php echo __("Updated at")?></th>
      <th><?php echo __("Deleted at")?></th>
      <th><?php echo __("Status")?></th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($specialsList as $specials): ?>
    <tr>
      <td><a href="<?php echo url_for('specials/edit?specials_id='.$specials->getSpecialsId()) ?>"><?php echo $specials->getSpecialsId() ?></a></td>
      <td><?php echo $specials->getProductsId() ?></td>
      <td><?php echo $specials->getSpecialsNewProductsPrice() ?></td>
      <td><?php echo $specials->getExpiresDate() ?></td>
      <td><?php echo $specials->getCreatedAt() ?></td>
      <td><?php echo $specials->getUpdatedAt() ?></td>
      <td><?php echo $specials->getDeletedAt() ?></td>
      <td><?php echo $specials->getStatus() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

<a href="<?php echo url_for('specials/create') ?>"><?php echo __("Create")?></a>
